package com.jxb.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.jxb.mapper.MemberMapper;
import com.jxb.mapper.OrderMapper;
import com.jxb.mapper.UserMapper;

/**
 * 类注释
 *
 * @author jiaobo
 * @date Created in 2024/11/23 20:40
 **/
@Component
public class MybatisTest {

    @Autowired
    private UserMapper userMapper; // Mybatis UserMapper代理对象-->Bean

    // @Autowired
    // private OrderMapper orderMapper;
    //
    // @Autowired
    // private MemberMapper memberMapper;

    public void test() {
        System.out.println(userMapper.selectById());
        // System.out.println(orderMapper.selectById());
        // System.out.println(memberMapper.selectById());
    }

}
